<!DOCTYPE html>
<head>
	<meta charset="utf-8">
	<title>隐患</title>
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<link rel="stylesheet" href="css/mui.min.css">
	<link rel="stylesheet" type="text/css" href="css/app.css" />
	<link rel="stylesheet" type="text/css" href="css/mui.picker.min.css" />
	<link rel="stylesheet" type="text/css" href="css/public.css">
	<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body class="up_body">
	<div class="up_content">
		<!--表单start-->
		<form class="up_group">
			<div class="up_row">
				<label>填报单位：</label>
				<input type="text" placeholder="请输单位名称" name="">
				<div class="clear_both"></div>
			</div>
			<div class="up_row">
				<label>填&nbsp;&nbsp;报&nbsp;&nbsp;人：</label>
				<input type="text" placeholder="姜俊杰">
				<div class="clear_both"></div>
			</div>
			<div class="up_row">
				<label>隐患描述：</label>
				<textarea id="textarea" rows="5" placeholder="请输入隐患内容" name="HDName"></textarea>
				<div class="clear_both"></div>
			</div>
			<div class="up_row">
				<label>发现时间：</label>
				<input type="text" class="date-select" placeholder="请选择时间" name="FindDate" id="FindDate" readonly>
				<div class="clear_both"></div>
			</div>
			<div class="up_row record-select" data-options='[{"value": "ywj","text": "一般隐患"},{"value": "aaa","text": "重大隐患"},{"value": "222","text": "特大隐患"}]'>
				<label>隐串类别：</label>
				<input type="text" class="record-select-data" placeholder="请选择" name="HIHiddenDangerType" id="HIHiddenDangerType"
				 readonly>
				<icon class="icon_more fright"></icon>
				<div class="clear_both"></div>
			</div>
			<div class="up_row record-two-select" data-options='[{"value":"1","text":"北京","children":[{"value":"110101","text": "东城区"},{"value":"110102","text": "西城区"}]},{"value":"1","text":"天津市","children":[{"value": "110101","text": "东城区"}, {"value": "110102","text": "西城区"}]}]'>
				<label>隐串级别：</label>
				<input type="text" class="record-two-select-data" placeholder="请选择" name="HIHiddenDangerLevel" id="HIHiddenDangerLevel"
				 readonly>
				<icon class="icon_more fright"></icon>
				<div class="clear_both"></div>
			</div>
			<!--<div class="up_row">
                <label>整改类型：</label>
                <input type="text" placeholder="请选择" name="" readonly>
                <icon class="icon_more fright"></icon>
                <div class="clear_both"></div> 
            </div>-->
			<div class="up_row">
				<label>整改期限：</label>
				<input type="text" class="date-select" placeholder="请选择时间" name="DeadLine" id="DeadLine" readonly>
				<icon class="icon_more fright"></icon>
				<div class="clear_both"></div>
			</div>

			<div class="up_row">
				<label>整改要求：</label>
				<textarea id="textarea" rows="5" name="RectificationRequest" placeholder="请输入整改要求"></textarea>
				<div class="clear_both"></div>
			</div>
			<div class="up_row">
				<label>责任单位：</label>
				<input type="text" placeholder="请选择" name="ResOrganization" readonly>
				<icon class="icon_more fright"></icon>
				<div class="clear_both"></div>
			</div>
			<div class="up_row up_file_list">
				<label>上传图片：</label>
				<div class="up_file_right">
					<div id="preview"></div>
					<!-- <img src="images/cont_img.png"/>
					<img src="images/cont_img.png"/> -->
					<input type="file" id="upload" class="up_file" multiple capture='camera' accept='image/*'>
					<div class="up_file_img"></div>
				</div>
				<div class="clear_both"></div>
			</div>
		</form>
		<!--表单end-->
		<div class="up_button">
			<input type="button" id="submit" class="up_button_left" value="提交" />
			<input type="button" class="up_button_right" value="保存" /></div>
		<div class="clear_both"></div>
	</div>
	</div>
</body>
<script src="js/mui.min.js"></script>
<script src="js/jquery.js"></script>
<script src="js/mui.picker.min.js"></script>
<script src="js/common.js"></script>
<script>
	var f = new FFile({
		name: 'hidden',								//唯一名,用来与其他文件区分
		fileInput: '#upload',				//html file控件
		upButton: '#submit',					//提交按钮
		pre: '#preview',									//预览地址
		url: 'test',									//ajax地址						
		onSuccess: function(res){
			console.log(res)
		},
		onFailure:function(){
			console.log("失败");
		}
	})
</script>
</html>
